package doan.tanduc;

public class Table {
	int tableId;
	String tableName;
	int orderId;
	int tableStatus;
	int orderStatus;
	
	public Table(int t,String name) {
		tableId = t;
		tableName = name;
		orderId = -1;
		tableStatus = 0;
		orderStatus = -1;
	}
	
	public Table(int t,String name,int o,int ts,int os){
		this.tableId = t;
		this.tableName = name;
		this.orderId = o;
		this.tableStatus = ts;
		this.orderStatus = os;
	}
	public void setTableStatus(int ts){
		tableStatus = ts;
	}
	public int getTableId() {
		return tableId;
	}
	public int getTableStatus() {
		return tableStatus;
	}
	public int getOrderId() {
		return orderId;
	}
	public int getOrderStatus() {
		return orderStatus;
	}
	public String getTableName() {
		return this.tableName;
	}
}
